#include<iostream>
using namespace std;
int main(){

	int a,b,c,p,act=0,ant=0,m=0;
	cout<<"ingrese numeros"<<endl;
	cin>>a>>b;
	cout<<"ingrese numeros de elementos"<<endl;
	cin>>p;
	c=a+b;
	cout<<"Serie: "<<a<<"-"<<b<<"-"<<c;
	for(int n=0;n<(p-1);n++)
	{
		
		a=b;
	b=c;
	c=a+b;
	cout<<"-"<<c;
		////m=act+ant;
		//
		//ant=m;
		//act=ant;
		//cout<<"-"<<m;
		
	}
	cout<<endl;
	system("pause");
}